<%@tag pageEncoding="UTF-8" %>
<%@attribute name="tableName" required="true" %>
<%@attribute name="url" required="true" %>
<a class="layui-btn layui-btn-sm layui-btn-danger"
   onclick="deleteData('${url}','${tableName}')">
    <i class="layui-icon">&#xe640;</i>删除
</a>
<script type="text/javascript">
    var canDelete = true;
</script>